///////////////////////////////////////////////////////////
//  CSaveView.h
//  Implementation of the Class CSaveView
//  Created on:      12-Oct-2013 11:36:32 AM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_3E6A17D1_8DEE_45ab_997F_SAVEVIEW__INCLUDED_)
#define EA_3E6A17D1_8DEE_45ab_997F_SAVEVIEW__INCLUDED_

#include "IViewCtrl.h"
#include "IWindowDirector.h"

namespace UI
{
class CSaveView : public IViewCtrl
{

public:
  CSaveView(IWindowDirector* director);
	virtual ~CSaveView();
	virtual IViewCtrl::ViewType GetType() const;
	virtual void Initialize();
	virtual void Refresh();
	virtual void ShowView(bool show = true);
	void SetTitleView(const std::string& text);
  void SetNameLabel(const std::string& text);
  std::string GetNameLabel();

private:
  bool OnClickedNavigationBar(CNavigationBar *naviBar, int button);
  bool OnClickedView(CView* view);

private:
	IViewCtrl::ViewType m_type;
	IWindowDirector*    m_parrentWnd;
  int                 m_curSelChoice;
  CNavigationBarPtr   m_navigationBar;
  CTextFieldPtr       m_textField;
};
}
#endif // !defined(EA_3E6A17D1_8DEE_45ab_997F_BA8BD021F03A__INCLUDED_)
